﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;

namespace Model
{
    [DataContract]
    [MB.Orm.Mapping.Att.ModelMap("DCInventoryMove", "DCInventoryMove", new string[] { "INVENTORYMOVEID" })]
    [KnownType(typeof(DCInventory))]
    public class DCInventoryMove : MB.Orm.Common.BaseModel
    {
        public DCInventoryMove()
        {

        }
        private int _INVENTORYMOVEID;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("INVENTORYMOVEID", System.Data.DbType.Int32)]
        public int INVENTORYMOVEID
        {
            get { return _INVENTORYMOVEID; }
            set { _INVENTORYMOVEID = value; }
        }

        private string _INVENTORYMOVECODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("INVENTORYMOVECODE", System.Data.DbType.String)]
        public string INVENTORYMOVECODE
        {
            get { return _INVENTORYMOVECODE; }
            set { _INVENTORYMOVECODE = value; }
        }

        private int _GOODSNUMBER;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSNUMBER", System.Data.DbType.Int32)]
        public int GOODSNUMBER
        {
            get { return _GOODSNUMBER; }
            set { _GOODSNUMBER = value; }
        }


        private string _STATUS;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("STATUS", System.Data.DbType.String)]
        public string STATUS
        {
            get { return _STATUS; }
            set { _STATUS = value; }
        }

        private DateTime _REQUESTDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("REQUESTDATE", System.Data.DbType.DateTime)]
        public DateTime REQUESTDATE
        {
            get { return _REQUESTDATE; }
            set { _REQUESTDATE = value; }
        }

        private DateTime? _TARGETDATE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("TARGETDATE", System.Data.DbType.DateTime)]
        public DateTime? TARGETDATE
        {
            get { return _TARGETDATE; }
            set { _TARGETDATE = value; }
        }

        private string _REQUESTWAREHOUSENAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("REQUESTWAREHOUSENAME", System.Data.DbType.String)]
        public string REQUESTWAREHOUSENAME
        {
            get { return _REQUESTWAREHOUSENAME; }
            set { _REQUESTWAREHOUSENAME = value; }
        }

        private string _TARGETWAREHOUSENAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("TARGETWAREHOUSENAME", System.Data.DbType.String)]
        public string TARGETWAREHOUSENAME
        {
            get { return _TARGETWAREHOUSENAME; }
            set { _TARGETWAREHOUSENAME = value; }
        }


        private string _REQUESTUSERNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("REQUESTUSERNAME", System.Data.DbType.String)]
        public string REQUESTUSERNAME
        {
            get { return _REQUESTUSERNAME; }
            set { _REQUESTUSERNAME = value; }
        }
        private string _TARGETUSERNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("TARGETUSERNAME", System.Data.DbType.String)]
        public string TARGETUSERNAME
        {
            get { return _TARGETUSERNAME; }
            set { _TARGETUSERNAME = value; }
        }

        private string _GOODSNAME;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSNAME", System.Data.DbType.String)]
        public string GOODSNAME
        {
            get { return _GOODSNAME; }
            set { _GOODSNAME = value; }
        }

        private string _GOODSCODE;
        [DataMember]
        [MB.Orm.Mapping.Att.ColumnMap("GOODSCODE", System.Data.DbType.String)]
        public string GOODSCODE
        {
            get { return _GOODSCODE; }
            set { _GOODSCODE = value; }
        }


    }
}
